package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "筛选会议室时传递的数据模型")
public class MeetingRoomQueryDTO {


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime startTime; // 使用开始时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime endTime;   // 使用结束时间

    private Integer peopleCount;     // 参会人数
    private Boolean needProjector;   // 是否需要投影仪
    private Boolean needSoundSystem; // 是否需要音响系统
    private Boolean needInternet;    // 是否需要网络
    private Integer floor;   //楼层
    // getters and setters

    private Integer area;   //面积
    private String roomType;  //会议室类型

    private Double maxPrice;    //最大价格
    private Double minPrice;    //最低价格


}